package cn.zhaoguang.usedcar.main.service;

import cn.zhaoguang.usedcar.main.entity.Carousel;
import cn.zhaoguang.usedcar.main.entity.vo.CarouselVO;

import java.util.List;

/**
 * @Description
 * @Author zhaoguang
 * @Date 2021/7/7 10:33
 */
public interface CarouselService {

    /**
     * @Description 添加
     * @Author zhaoguang
     */
    int add(Carousel carousel);

    /**
     * @Description 删除
     * @Author zhaoguang
     */
    int delete(Integer id);

    /**
     * @Description 查询全部轮播图
     * @Author zhaoguang
     */
    List<CarouselVO> findAll();
}
